A sequence is a list of terms, while a series is the sum of the terms. A sequence can be defined in two ways:
Sequences can be:
The sequence of Fibonacci numbers is defined by the recurrence relation
The sequence of Lucas numbers[2] is defined by the same recurrence relation as the Fibonacci numbers (each term is the sum of the two immediately before it), but
A linear recurrence relation is where each term in a sequence is a linear function of previous terms, e.g.
A homogenous recurrence relation has the form
A recurrence system is defined by the recurrence relation (e.g.
For a relation of form
We start by finding the complementary function
We then find the particular solution
Choose a form for
Then, apply the initial conditions to find remaining constants from the complementary function.
Footnote on convergence (outside of specification)
There are sequences where the terms converge to 0 that do not sum to a convergent series. For example, the harmonic sequence
Footnote on the Fibonacci and Lucas numbers
Some definitions of the Fibonacci and Lucas numbers start from